﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pibby.Core.Web;
using System.IO;

namespace Pibby.Core
{
    public interface IUserSettings
    {
        string DownloadFolder
        {
            get;
            set;
        }

        bool StartMinimized
        {
            get;
            set;
        }

        MainWindowSettings MainWindow
        {
            get;
        }

        string RepositoryPath
        {
            get;
            set;
        }

        bool RefreshAtStartup
        {
            get;
            set;
        }

        bool ShowTooltips
        {
            get;
            set;
        }

        int TooltipTimeout
        {
            get;
            set;
        }

        string Path
        {
            get;
            set;
        }

        PollingSettings Polling
        {
            get;
            set;
        }

        void Save();

        void Save(TextWriter writer);
    }
}
